package com.ljyanimo.service;

import com.ljyanimo.entity.SysUserRole;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author
 * @since 2020-10-16
 */
public interface ISysUserRoleService extends IService<SysUserRole> {

    /**
     * 根据用户ID查询角色id
     * @param userId
     * @return
     */
    List<Integer> selectUserRoleByUserId(Integer userId);

}
